#include <iostream>

// inserting comment,more

using namespace std;
long int power(unsigned short int n, unsigned short int m);
int main()
{
short int n, m;
long int answer;
cout << " enter the value of the integer" << endl;
cin >> n;
cout << " enter the value of power";
cin >> m;
answer = power(short int n,int m);
cout << n <<" to the power of " << m << " the power is "<< answer << endl;  
return 0;
}
long int power(short int n, short int m)
{
   if (n < 2)
   {
   return(1);
   }
   else
   {
    return (n*power(n, m-1));
   }
}
